package cn.liit.weixin.message.model.resp;

import com.thoughtworks.xstream.annotations.XStreamAlias;

import cn.liit.weixin.message.type.RespMessageType;

/**
 * 视频消息
 * @author boqi.zhang
 *
 */
@XStreamAlias("xml")
public class VideoMessage extends RespBaseMessage{
	
	private Video Video;//视频模型

	public VideoMessage(Video video) {
		super(RespMessageType.RESP_MESSAGE_TYPE_VIDEO.getType());
		Video = video;
	}

	public Video getVideo() {
		return Video;
	}

	public void setVideo(Video video) {
		Video = video;
	}
	
	public static class Video {
		
		private String MediaId;	//通过素材管理接口上传多媒体文件，得到的id
		private String Title;//视频消息的标题
		private String Description;//视频消息的描述
		
		public Video() {
			super();
		}
		
		public Video(String mediaId, String title, String description) {
			super();
			MediaId = mediaId;
			Title = title;
			Description = description;
		}
		
		public String getMediaId() {
			return MediaId;
		}
		
		public void setMediaId(String mediaId) {
			MediaId = mediaId;
		}
		
		public String getTitle() {
			return Title;
		}
		
		public void setTitle(String title) {
			Title = title;
		}
		
		public String getDescription() {
			return Description;
		}
		
		public void setDescription(String description) {
			Description = description;
		}
		
	}
	
	
}
